﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace SindSaude
{
    public partial class publicacoes : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SindSaudeCamadas.Dados.publicacoes publicacao = new SindSaudeCamadas.Dados.publicacoes();
            DataTable dt = new DataTable();
            dt = publicacao.carregaPublicacoes();
            if (dt.Rows.Count >= 1)
            {
                publicacoeList.DataSource = dt;
                publicacoeList.DataBind();
                publicacoeList.RepeatDirection = RepeatDirection.Horizontal;
            }
        }
    }
}